/**
 * 
 */
package com.hydra.designpattern.strategy;

/**
 * @Created on 2013-4-3
 * @Title:上下文
 * @Description:
 * @author:黄海军
 */
public class Context {
	Strategy strategy;

	public Context(Strategy strategy) {
		this.strategy = strategy;
	}

	// 上下文接口
	public void contextInterface() {
		strategy.AlgorithmInterface();
	}
}
